package com.doge.bean.bo.goods;

import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.Min;
import java.math.BigDecimal;

/**
 * @program: project2-wechat-mall
 * @description:
 * @author: 305905917@qq.com
 * @create: 2021-11-30 14:57
 **/

@Data
public class CreateOfProducts {
    private Integer id;
    private String[] specifications;
    @DecimalMin("0")
    private BigDecimal price;
    @Min(0)
    private Integer number;
    private String url;
}
